#ifndef DEF_H_
#define DEF_H_

#include <sstream>
#include <unordered_map>


#ifndef IntToStr
#define IntToStr( x ) dynamic_cast< std::ostringstream & >( \
        ( std::ostringstream() << std::dec << x ) ).str()
#endif

#ifndef STARTADDR
#define STARTADDR 256
#endif

#ifndef DISASSEMBLY_FILE_NAME
#define DISASSEMBLY_FILE_NAME "generated_disassembly.txt"
#endif

#ifndef SIMULATION_FILE_NAME
#define SIMULATION_FILE_NAME "generated_simulation.txt"
#endif

#ifndef STARTADDR
#define STARTADDR 256
#endif


typedef enum { I, R } InstType;




#endif
